@import "@/lib/reset.scss";
body,html,#root{
  @include rect(100%,100%)
}
@font-face {
  font-family: 'newicon';
  src: url('./font/iconfont.eot');
  src: url('./font/iconfont.eot?#iefix') format('embedded-opentype'),
  url('./font/iconfont.woff') format('woff'),
  url('./font/iconfont.ttf') format('truetype'),
  url('./font/iconfont.svg#iconfont') format('svg');
}
.icon{
  font-family: 'newicon';
  color: #000;
}
.detail{
  header {
    @include rect(100%, 0.44rem);
    @include flexbox();
    .spans {
      display: block;
      @include rect(0.5rem, 100%);
      @include flexbox();
      justify-content: center;
      align-items: center;
    }
    div {
      @include flex();
      @include flexbox();
      justify-content: center;
      align-items: center;
    }
  }
  .selection{
    @include rect(100%,1.66rem);
    box-sizing: border-box;
    padding: 0.12rem;
    .imgbox{
      @include rect(100%,100%);
      @include flexbox();
      @include justify-content(space-between)
      .img1{
        @include rect(0.98rem,100%);
        margin-right: 0.12rem;
        img{
          @include rect(100%,100%)
        }
      }
      .jianjie{
       @include flex();
        @include flexbox();
        @include flex-direction(column);
        font-size: 0.16rem;
        color: #999999;
        line-height: 0.36rem;
        .bookname{
          font-size: 0.18rem;
          color: #000;
        }


      }
    }
  }
  .startread{
    @include rect(100%,0.4rem);
    padding: 0 0.12rem;
    div{
      @include rect(100%,100%);
      @include flexbox();
      justify-content: space-around;
      span{
       display: block;
        @include rect(1.18rem,100%);
        padding:0 5px;
        border: 1px solid #00c98d;
        line-height: 0.4rem;
        text-align: center;
        border-radius: 6px;
        color: #00c98d ;
      }
      span:nth-child(1){
        background: #00c98d;
        color: #ffffff;
      }
    };
  }

  .textbox{
    @include rect(100%,2.06rem);
    border-bottom: 8px solid #eeeeee;
    padding: 0.12rem;
    @include flexbox();
    flex-direction: column;
    .text1{
      @include rect(100%,0.54rem);
      @include flexbox();
      align-items: center;
      justify-content: space-between;
      color: #999999;
      div{
        @include flexbox();
        align-items: center;
        @include rect(auto,100%);
        span{
          margin-right: 0.12rem;
        }
        .dif{
          color: #000;}
      };
    }
    p{
      @include rect(100%,0.86rem);
      color: #999999;
      text-indent: 0;
      overflow: hidden;

    }
  }
  .home_title{
    @include rect(100%,0.32rem);
    box-sizing: border-box;
    padding: 0.16rem 0 0 0 ;

    @include flexbox();
    span {
      display: block;
      @include rect(4px,100%);
      background: green;
      margin-right: 0.2rem;

    }
    p{
      font-size: 16px;
      line-height: 1;
    }
  }

  .comment{
    @include rect(100%,2.96rem);
    border-bottom: 8px solid #eeeeee;
    padding: 0 0 0 0.12rem;
    ul{
      @include rect(100%,100%);
      @include flexbox();
      flex-direction: column;
      li{
        @include flex();
        border-bottom: 1px solid #eeeeee;
        box-sizing: border-box;
        padding: 0.12rem 0.12rem 0.12rem 0;
        @include rect(100%,30%);
        @include flexbox();
        .userPhoto{
          @include rect(10%,100%);
          span{
            display: block;
            @include rect(0.24rem,0.24rem)
          }

        }
        .nickName{
          @include rect(90%,100%);
          @include flexbox();
          flex-direction: column;
          .nicktext{
            font-size: .14rem;

            color: #999;
            display: -webkit-box;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            margin: 0.06rem 0;
            max-height: 100%;
          }

        }
      }
    }
  }

  .jingpinlist{
    @include rect(100%,1.86rem);
    box-sizing: border-box;
    padding: 10px 0 10px 10px;
    border-bottom: 1px solid #eeeeee;
    ul{
      @include rect(100%,100%);

      @include flexbox();

      a{
        @include flex();
        @include flexbox();
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 0 16px 0 0;
        color: #000000;
        div{
          @include rect(0.84rem,1.11rem)
        }
        img{@include rect(0.84rem,100%);
        }
        span{font-size: 14px;
          display: block;
          @include rect(100%,0.16rem);
          white-space: nowrap;
          overflow: hidden;
          text-overflow:ellipsis }
      }
    }

  }
  .change{
    @include rect(100%,0.48rem);
    @include flexbox();
    justify-content: center;
    align-items: center;
    border-bottom: 8px solid #eeeeee;

  }
  .girllist2{
    @include flexbox();
    flex-direction: column;
  }
  .girllistbox{
    @include rect(100%,2.3rem);
    box-sizing: border-box;
    padding: 0 0 0 0.12rem;
    ul{
      @include rect(100%,100%);
      @include flexbox();
      flex-direction: column;
      a{
        @include rect(100%,0.77rem);
        box-sizing: border-box;
        padding: 0.12rem 0.12rem 0.12rem 0;
        @include flexbox();
        flex-direction: column;
        justify-content: space-around;
        border-bottom: #eeeeee;
        color: #000;
        div{
          @include flexbox();
          justify-content: space-between;

          p{
            @include flexbox();
            justify-content: space-between;
            width: 1.2rem;
            span{
              display: block;
              border-radius: 4px;

            }
            .stat_name{
              @include rect(0.35rem,100%);
              border:1px solid #dddddd;
              color: green;
              font-size: 0.12rem;
              text-align: center;
            }
            .first_cate_name{
              @include rect(0.65rem,100%);
              border:1px solid #dddddd;
              color: #bbbbbb;
              font-size: 0.12rem;
              text-align: center;
            }
          }
        }
        .introduction {
          font-size: 14px;
          display: block;
          @include rect(100%, 0.16rem);
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          font-size: 14px;
          color: #bbbbbb;

        }
      }
    }
  }
}

